package com.gjm.demo.controller;

import com.gjm.demo.service.ArticleInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Scanner;


@Controller
public class ArticleInfoController {

//    @Autowired
//    private ArticleInfoService articleInfoService;

    public String getUid() {
        System.out.println("需要查询的书籍的名称: ");
        Scanner scanner = new Scanner(System.in);
        String content = scanner.nextLine();
        return content;
    }
}
